﻿using DDD.Domain.Abstract.Entities.Enum;
using DDD.Domain.Abstract.Entities.IAbiltly;

namespace DDD.Domain.Abstract.Entities.Abiltly
{
    public abstract class AudtionEntity : Entity<int>, ISoftDelete<int?>, ICreate<int>, IEdit<int?>
    {
        public DateTime? DeleteTime { get; }

        public IsDeletedEnum IsDeleted { get; set; } = IsDeletedEnum.N;

        public int? DeletorId { set; get; }

        public int CreatorId { set; get; }

        public DateTime CreateTime { get;  }

        public int? EditorId { set; get; }

        public DateTime? EditorTime {  get; }
    }
}
